import { edpService } from "./decorators";
import express from 'express';
// import func from './lib/func.js';
const func = (inputs: object) => {
  return inputs;
}
const myfunc = func;
@edpService
class Service {
  static app: express.Express;
  static serviceName = 'ts-calc'
  static desc = 'a calculator in typescript'
  static category = null
  static tasks = [
    'func: Any->Any'
  ]
  func(inputs: object) {
    return myfunc(inputs);
  }
}
Service.app.listen(3002, () => {
  console.log(`Server is running on port 3002.`);
});